package com.soil.code.generation.database.mysql.repository.mapper;

import com.mybatisflex.core.BaseMapper;
import com.soil.code.generation.database.mysql.repository.po.MysqlColumnInfoPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zeno
 */
@Mapper
public interface MysqlColumnsViewMapper extends BaseMapper<MysqlColumnInfoPO>{

  /**
   *
   * @param tableSchema 数据库名
   * @param tableName 表名
   * @return
   */
  List<MysqlColumnInfoPO> findColumnsInfo(@Param("tableSchema") String tableSchema,@Param("tableName") String tableName );
}
